<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
    <script src="../../../static/stocksys/js/Graph.js"></script>
    <title>拖拽</title>
    <style>
        #div1 {
            position: absolute;
            width: 100px;
            height: 100px;
            background: black;
        }
        #div2 {
            position: absolute;
            width: 100px;
            height: 100px;
            background: black;
        }
        #div3 {
            position: absolute;
            width: 100px;
            height: 100px;
            background: black;
        }
    </style>
</head>
<body>
<div style="width: 300px;height: 300px;background: red;display: block;position: relative">
    <div id="div1"></div>
    <div id="div2"></div>
    <div id="div3"></div>
</div>
<script>
    Gfollow("#div1");
    Gfollow("#div2");
    Gfollow("#div3");
</script>
</body>
</html>